// samsting : this file is auto create.

#include "Ubsms-inner/2015-06-23/DescribeUserBusinessStatusResponse.h"

namespace aliyun { namespace Ubsms_inner {

DescribeUserBusinessStatusResponse::DescribeUserBusinessStatusResponse() {
}

const string& DescribeUserBusinessStatusResponse::Status::GetStatusKey(void) const {
  return StatusKey_;
}

const string& DescribeUserBusinessStatusResponse::Status::GetStatusValue(void) const {
  return StatusValue_;
}

const std::vector<DescribeUserBusinessStatusResponse::Status>& DescribeUserBusinessStatusResponse::GetStatuses(void) const {
  return Statuses_;
}

bool DescribeUserBusinessStatusResponse::GetSuccess(void) const {
  return Success_;
}

const string& DescribeUserBusinessStatusResponse::GetUid(void) const {
  return Uid_;
}

const string& DescribeUserBusinessStatusResponse::GetServiceCode(void) const {
  return ServiceCode_;
}

const char* DescribeUserBusinessStatusResponse::BaseKey(void) {
  return "DescribeUserBusinessStatusResponse";
}

void DescribeUserBusinessStatusResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Statuses__length = 0;
  UnmarshallerInt(Statuses__length, response_map, "DescribeUserBusinessStatusResponse.Statuses.Length");
  if(Statuses__length >= 0) {
    Statuses_.resize(Statuses__length);
    for(int i1 = 0; i1 < Statuses__length; i1++) {
      UnmarshallerString(Statuses_[i1].StatusKey_, response_map, "DescribeUserBusinessStatusResponse.Statuses["+string_ValueOfInt(i1)+"].StatusKey");
      UnmarshallerString(Statuses_[i1].StatusValue_, response_map, "DescribeUserBusinessStatusResponse.Statuses["+string_ValueOfInt(i1)+"].StatusValue");
    } // for(int i1 = 0; i1 < Statuses__length; i1++) {
  } // if(Statuses__length >= 0) {

  UnmarshallerBool(Success_, response_map, "DescribeUserBusinessStatusResponse.Success");
  UnmarshallerString(Uid_, response_map, "DescribeUserBusinessStatusResponse.Uid");
  UnmarshallerString(ServiceCode_, response_map, "DescribeUserBusinessStatusResponse.ServiceCode");
}


} } // namespace aliyun { namespace Ubsms_inner {

// end of file 
